Generating a service component architecture (sca) module with service oriented architecture (soa) model elements

ABSTRACT

A system and associated method for generating a Service Component Architecture (SCA) module with Service Oriented Architecture (SOA) model elements. A service model is created according to a process model that has activities and a process flow. Services of the service model are respectively associated with the activities. Each service is determined to employ only one service operation definition to render a message specification of a respective activity that is associated with each service. The activities, the process flow, and the message specification are utilized to produce the SCA module in executable implementations.

This application is a continuation application claiming priority to Ser.No. 12/495,862, filed Jul. 1, 2009.

BACKGROUND OF THE INVENTION

The present invention discloses a system and associated method forgenerating a Service Component Architecture (SCA) module with combinedprocess/service model elements of Service Oriented Architecture (SOA) bymapping the process/service model elements to respective SCA moduleartifacts. Conventional authoring tools generating executable SCAmodules do not utilize all abstract modeling elements of process/servicemodels that had been generated in previous phases of a projectdevelopment cycle. The lack of a mapping mechanism between abstractprocess/service model elements and respective executable SCA moduleartifacts makes generating executable SCA modules inefficient andexpensive.

BRIEF SUMMARY

According to one embodiment of the present invention, a method forgenerating a Service Component Architecture (SCA) module with ServiceOriented Architecture (SOA) model elements comprises creating a servicemodel corresponding to a process model, wherein the process modelcomprises at least one activity and a process flow, said at least oneactivity exchanging messages among said at least one activity accordingto said process flow, and wherein the service model comprises at leastone service and at least one service operation definition; associatingan activity of said at least one activity with a service of said atleast one service such that an origin of the activity is identical to anorigin of the service; determining a service operation definition ofsaid at least one service operation definition that specifies aninterface of the service associated with the activity; rendering amessage specification of the activity from the interface of the service;a processor of a computer system producing the SCA module with the SOAmodel elements, wherein the SOA model elements comprise said at leastone activity, the process flow, and the message specification, andwherein the SCA module is executable in the process flow, the SCA modulecomprising the activity communicating among said at least one activityaccording to the rendered message specification; and communicating theproduced SCA module to a user of the computer system.

According to one embodiment of the present invention, a computer programproduct comprises a computer readable memory unit that embodies acomputer readable program code. The computer readable program codecontains instructions that, when executed by a processor of a computersystem, implement generating a Service Component Architecture (SCA)module with Service Oriented Architecture (SOA) model elements.

According to one embodiment of the present invention, a computer systemcomprises a processor and a computer readable memory unit coupled to theprocessor, wherein the computer readable memory unit containinginstructions that, when executed by the processor, implement generatinga Service Component Architecture (SCA) module with Service OrientedArchitecture (SOA) model elements.

According to one embodiment of the present invention, a process forsupporting computer infrastructure, said process comprising providing atleast one support service for at least one of creating, integrating,hosting, maintaining, and deploying computer-readable code in acomputing system, wherein the code in combination with the computingsystem is capable of performing a method for generating a ServiceComponent Architecture (SCA) module with Service Oriented Architecture(SOA) model elements.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

FIG. 1 illustrates a system 10 for generating a Service ComponentArchitecture (SCA) module with Service Oriented Architecture (SOA) modelelements, in accordance with embodiments of the present invention.

FIG. 2 illustrates the SOA model elements of FIG. 1, which are inputs ofthe module generating process, in accordance with the embodiments of thepresent invention.

FIG. 2A illustrates an example QuoteIssueProcess process model of theSOA model elements of FIG. 2, in accordance with the embodiments of thepresent invention.

FIGS. 2B, 2C, 2D, and 2E illustrate examples of the SOA service modelelements of FIG. 2, in accordance with the embodiments of the presentinvention.

FIG. 3 illustrates the SCA module of FIG. 1, which are outputs of themodule generating process, in accordance with the embodiments of thepresent invention.

FIGS. 3A, 3B, 3C and 3D illustrate examples of the SCA module artifactsof FIG. 3, in accordance with the embodiments of the present invention.

FIG. 4 illustrates mappings between the SOA service model elements andthe SCA module artifacts, in accordance with the embodiments of thepresent invention.

FIGS. 4A and 4B illustrate an example of service dependency and servicecomposition of a SOA service model that defines reference partners for aSCA component, in accordance with the embodiments of the presentinvention.

FIG. 4C illustrates interface definitions of SCA components, which aregenerated from service allocations of a SOA service model, in accordancewith the embodiments of the present invention.

FIG. 5 is a flowchart depicting the method for generating a SCA modulewith SOA model elements, in accordance with the embodiments of thepresent invention.

FIG. 5A illustrates an example of a Unified Modeling Language (UML)project in IBM Rational Software Architecture (RSA), in accordance withthe embodiments of the present invention.

FIG. 5B illustrates an example of the candidate activities and theprocess flow of the process model in FIG. 5A, in accordance with theembodiments of the present invention.

FIG. 5C illustrates an example of service operation definitions, inaccordance with the embodiments of the present invention.

FIG. 5D illustrates examples of message specifications, in accordancewith the embodiments of the present invention.

FIG. 5E illustrates an example of the generated Service ComponentArchitecture (SCA) module in Business Process Execution Language (BPEL),in accordance with the embodiments of the present invention.

FIG. 6 illustrates a computer system used for generating a SCA modulewith SOA model elements, in accordance with the embodiments of thepresent invention.

DETAILED DESCRIPTION

FIG. 1 illustrates a system 10 for generating a Service ComponentArchitecture (SCA) module 30 with Service Oriented Architecture (SOA)model elements 20, in accordance with embodiments of the presentinvention.

A service, in service-oriented programming, is defined as a unit ofsolution logic comprising capabilities in a functional context. The termService Oriented Architecture (SOA) is defined by the Organization forthe Advancement of Structured Information Standards (OASIS), in theOASIS SOA Reference Model, as a “paradigm for organizing and utilizingdistributed capabilities that may be under the control of differentownership domains. [The SOA] provides a uniform means to offer,discover, interact with and use capabilities to produce desired effectsconsistent with measurable preconditions and expectations.”

The term Service Component Architecture (SCA) is defined as a moreplatform-independent paradigm than the SOA. The SCA intends to offer theflexibility for true composite applications, flexibly incorporatingreusable components in an SOA programming style. To achieve a highdegree of programmer productivity, the SCA removes the overhead ofbusiness logic programmer concerns regarding platforms, infrastructure,plumbing, policies and protocols. In this specification, the term SOA isused to indicate abstract aspects of modeling elements or to qualifymodels as being abstract. In this specification, the term SCA is used toindicate executable aspects of module artifacts or to qualify modules asbeing executable.

Service Component Architecture (SCA) is a set of specifications whichdescribe a model for building applications and systems using aService-Oriented Architecture (SOA). SCA extends and complements priorapproaches to implementing services, and SCA builds on open standardssuch as Web services.

The system 10 comprises a service/data repository 11, an integratedauthoring environment 13, and the Service Component Architecture (SCA)module 30.

The service/data repository 11 stores specifications of businessservices and data necessary to implement the Service ComponentArchitecture (SCA) module 30 that performs the business servicesaccording to the specifications and data stored in the service/datarepository 11. The SCA module 30 is generated by the integratedauthoring environment 13 from information of the service/data repository11.

The integrated authoring environment 13 comprises a modeling process 15,the Service Oriented Architecture (SOA) model elements 20, and a modulegenerating process 100.

The modeling process 15 generates the SOA model elements 20 from theinformation stored in the service/data repository 11 by performingprocess modeling and service modeling.

The SOA model elements 20 describe business requirements such as processflow, service interface, etc., of the business services with respectiveabstract model elements. The SOA model elements 20 are presented in ageneral modeling languages such as Unified Modeling Language (UML). TheSOA model elements 20 specify, visualize, construct and document theelements of an Object-Oriented, software-intensive system underdevelopment. In UML, the SOA model elements 20 describe abstract modelsof a specific system comprising actors, business processes, systemcomponents, activities, with graphical notation by using concrete toolsof programming language statements, database schemas, reusable softwarecomponents, etc. A SOA model is abstract and non-executable in the sensethat the SOA model must be transformed to the SCA module to be executedin a computer system because of lack of operational details to beexecuted. The SOA model elements 20 are provided to the modulegenerating process 100 as inputs. See descriptions of FIG. 2, infra, fordetails of the SOA model elements 20.

The module generating process 100 generates the SCA module 30 by mappingthe SOA model elements 20 to a respectively corresponding artifact ofthe SCA module 30. See descriptions of FIG. 3, infra, for details ofindividual artifacts in the SCA module 30. See descriptions of FIG. 4,infra, for mappings made by the module generating process 100. Themodule generating process 100 combines the SOA model elements 20 fromprocess modeling and service modeling to generate the SCA module 30. Seedescriptions of FIG. 5, infra, for detailed steps performed by themodule generating process 100.

In a conventional authoring environment for SCA module generation,either a process model or a service model is selected for each componenttool. Where a process model is used to generate a SCA module, input andoutput business objects of each tasks in the process model representsinterface information at business level. Thus the interface informationof the process model is typically coarse and not specific enough to betransformed into interface messages of executable modules. Where servicemodeling is performed by other component tool of the conventionalauthoring environment, detailed service message specifications attransactional level are generated. However, such detailed servicemessage specifications are not employed in generating the SCA modulebased on the process model in the conventional authoring environment.Combining a process flow from the process model and service messagespecifications of the service model and establishing relationshipbetween SOA model elements and SCA module artifacts improve efficiencyand productivity of a project development by utilizing the output ofeach modeling to generate an improved form of executable modules.

In one embodiment of the present invention, the modeling process 15 isIBM® WebSphere® Business Modeler (WBM) and/or IBM Rational® SoftwareArchitect (RSA) with Service Oriented Model and Architecture ModelingEnvironment (SOMA-ME) plug-in. IBM WBM generates process models and RSASOMA-ME generates service models. The integrated authoring environment13 is IBM WebSphere Integration Developer (WID) comprising a componenttool that performs conventional module generation, and the SOA modelelements 20 are WBM process models in Unified Modeling Language (UML)activity diagrams and service model elements. The module generatingprocess 100 may be integrated with the IBM WebSphere IntegrationDeveloper (WID) to improve a module generating facility of theconventional authoring environment. (IBM, WebSphere and Rational areregistered trademarks of International Business Machines Corporation inthe United States and/or other countries.)

Conventional module generation tools neither define nor provideone-to-one relationship between the inputs of the SOA model elements 20and an executable artifact of the SCA module 30. A process modeltypically defines activities and flow of activities of the executablemodule. A service model typically defines interfaces of the executablemodule. Either the process model or the service model can generate a SCAmodule, for example, in Business Process Execution Language (BPEL) witha process model defined in a modeling tool such as Websphere BusinessModeler (WBM) or a service model presented in UML activity diagrams.However, the relationship between SOA modeling and SCA module generationis arbitrary in the sense that the generated SCA module varies based onthe modeling elements employed to generate the SCA module. The SCAmodules generated from the same set of specifications for businessservices are not coherent in conventional authoring environments.

The Service Component Architecture (SCA) module 30 is an outputgenerated by the integrated authoring environment 13. The SCA module 30comprises executable artifacts such as processes and interface messagesthat are respectively corresponding to the SOA model elements 20. Seedescriptions of FIG. 3, infra, for details of artifacts in the SCAmodule 30. The SCA module 30 may be generated in at least one selectedexecutable language such as Business Process Execution Language (BPEL),Java, etc. The SCA module 30 utilizes both SOA process model elementsand SOA service model elements. Process flows defined by SOA processmodel elements specifies activities and flows of the SCA module 30. TheSOA service model elements such as service message specifications areemployed to determine interface of each activity in the SCA module 30.

By mapping from SOA model elements to SCA module artifacts, the presentinvention achieves consistent and efficient generation of the SCA modulefrom input modeling elements. Also, once the modeling is complete andall SOA model elements are created, there is no need to create SCAmodule artifacts from the scratch because the SCA module artifacts willbe acquired by mapping from the SOA model elements. Consequently, aproject development cycle becomes more efficient by saving time andefforts. Also, because the mapping describes relationship between eachSOA model element and a corresponding SCA module element, an artifact ofthe output SCA module can be traced back to an input SOA modelingelement. See descriptions of FIG. 4, infra, for mappings made by themodule generating process 100.

In one embodiment of the present invention, the SCA module 30 isgenerated in Business Process Executable Language (BPEL), short for WebServices Business Process Execution Language (WS-BPEL). BPEL is astandard executable language for specifying interactions with WebServices. Processes in BPEL export and import information by using WebService interfaces exclusively. BPEL is defined by a global consortiumcalled the Organization for the Advancement of Structured InformationStandards (OASIS), which promotes e-business and web service standards.The SCA module 30 in BPEL specifies executable and abstract businessprocesses. BPEL extends a Web Services interaction model and enables theweb service interaction model to support business transactions. Thus,the SCA module 30 in BPEL defines an interoperable integration modelthat should facilitate the expansion of automated process integrationboth within and between businesses.

In the same embodiment of the present invention, the SCA module 30 isgenerated in BPEL and/or Java® depending on configurations of theintegrated authoring environment 13, which is IBM WebSphere IntegrationDeveloper (WID). (Java is a registered trademark of Sun Microsystems,Inc., in the United States and/or other countries.)

FIG. 2 illustrates the SOA model elements 20 of FIG. 1, supra, which areinputs of the module generating process 100, in accordance with theembodiments of the present invention.

The SOA model elements 20 comprise SOA process model elements 21 and SOAservice model elements 22. In one embodiment of the present invention,the SOA process model elements 21 comprise a Unified Modeling Language(UML) activity diagram. UML is a standardized general-purpose modelinglanguage to create abstract models of specific systems. A UML activitydiagram represents businesses and operational step-by-step workflows ofcomponents in a system, which describes an overall flow of control. SeeFIG. 2A, infra, for an example of the process model which when importedin IBM Rational Software Architect (RSA) generates a UML activitydiagram.

The SOA service model elements 22 comprise activities 23, businessactors 24, service component elements 25, service definitions 26, andservice interrelationships 27. The activities 23, short for serviceactivities, refer to a chain of message exchanges to be performed toexecute a specific task or a business process. In one embodiment of thepresent invention, the activities 23 are UML activities that had beengenerated by IBM WebSphere Business Modeler (WBM) modeling tool. SeeFIG. 2B, infra, for an example of the activities 23.

The business actors 24 are entities performing tasks in the servicemodel. In one embodiment of the present invention, the business actors24 are UML actors in a UML use case diagram that had been generated byIBM WebSphere Business Modeler (WBM) modeling tool. See FIG. 2C, infra,for an example of the business actors 24.

The service component elements 25 comprise service components,functional components, technical components, and subsystems. The servicecomponents are a unit of deployment performing a business service. Thefunctional components represent components providing actualfunctionalities toward a desired service. The technical componentsrepresent technically required components for other functional/servicecomponents to perform a desired service. See FIG. 2D, infra, for anexample of the service component elements 25.

The service definitions 26 comprise service allocations to each servicecomponent, service operation definition, and service messagespecification. The term “service allocation” See FIG. 2E, infra, forexamples of service allocations. The term “service operation” is definedas a function or a capability that an implemented service exposes via aWeb service contract, especially in relation to operation elements inthe Web Services Description Language (WSDL). The term “serviceoperation” is used to indicate that the operation is part of an actualWeb service designed under the SOA programming paradigm.

The service interrelationships 27 comprise component diagrams, servicedependency diagrams, service hierarchies, and service flows.

FIG. 2A illustrates an example QuoteIssueProcess process model 21E ofthe SOA model elements of FIG. 2, supra, in accordance with theembodiments of the present invention.

The example QuoteIssueProcess process model 21E presents a businessprocess model to issue a quote for car insurance upon being requested.The example QuoteIssueProcess process model 21E is created by IBMWebSphere Business Modeler (WBM) tool. The example QuoteIssueProcessprocess model 21E is subsequently imported into IBM Rational SoftwareArchitect (RSA) authoring environment to generate a corresponding UMLActivity Diagram.

The example process model 21E comprises activities Verify Driving Record21E01, Verify Credit History 21E02, Calculate Risk Score 21E03, EvaluateUnderwriting Rules 21E04, Approve Assessment 21E05, and a datarepository Quote Request 21E09. The activity Verify Driving Record 21E01verifies that a driver's license number submitted by an applicant isvalid. The activity Verify Credit History 21E02 gets a credit score ofthe applicant. The activity Calculate Risk Score 21E03 calculates risksassociated with enrolling the applicant. The activity EvaluateUnderwriting Rules 21E04 evaluates underwriting rules comprising achecklist of items such as whether or not a vehicle of the applicant hasbeen modified in the past for racing, whether or not the driver'slicense of the applicant has ever been suspended, etc. The activityApprove Assessment 21E05 results in approving the assessment of a quoteapplication. The data repository Quote Request 21E09 represents allinformation furnished while processing a QuoteRequest 21E06.

FIGS. 2B, 2C, 2D, and 2E illustrate examples of the SOA service modelelements 22 of FIG. 2, supra, in accordance with the embodiments of thepresent invention.

FIG. 2B illustrates an example of a process QuoteIssueProcess 23E. Theprocess QuoteIssueProcess 23E comprises items UnderWriter 23E01, System23E02, and QuoteIssueProcess 23E03.

The item UnderWriter 23E01 assesses a result evaluated by the system23E02 for an application for a quote request against underwriting rules.The UnderWriter 23E01 creates a result different from the resultevaluated by the System 23E02, if the UnderWriter 23E01 determines thatthe System 23E02 did not evaluated the application properly. The itemSystem 23E02 performs fully automated tasks or offers a user interfaceto Human Tasks. The item QuoteIssueProcess 23E03 comprises items System23E04, Stop Node 23E05, Is manual assessment required? 23E06, Start Node23E07, Join 23E08, Prepare Communication Email 23E09, Receive QuoteApplication 23E10, Score Risk 23E11, Verify Credit History 23E12, VerifyVehicle Details 23E13, and Send Email 23E14.

The item System 23E04 performs fully automated tasks or offers a userinterface to Human Tasks. The item Stop Node 23E05 indicates atermination of the process flow. The item Is manual assessment required?23E06 ascertains whether a manual assessment of the risk scoring isrequired, which is typically performed with a high-risk applicant. Theitem Start Node 23E07 indicates a beginning of the business process. Theitem Join 23E08 indicates a node where two parallel activities willmerge. The item Prepare Communication Email 23E09 prepares an email withcontent containing the outcome of the item QuoteIssueProcess 23E03. Theitem Receive Quote Application 23E10 receives a quote application froman applicant and forwarding it for processing. The item score Risk 23E11calculates the risk score of the received quote application. The itemVerify Credit History 23E12 acquires a credit score of this applicantgiven the SSN of the applicant. The item Verify Vehicle Details 23E13validates a vehicle registration number that the applicant hadsubmitted. The item Send Email 23E14 sends an email to the applicantabout the outcome of the quote issue process.

FIG. 2C illustrates an example of the business actors 24E.

FIG. 2D illustrates an example of the service component elements 25E.

FIG. 2E illustrates an example of the service definitions 26E. A servicecomponent QuoteProcessing comprises two service components QuoteIssueand RiskRating. A service QuoteIssueProcess is allocated to the servicecomponent QuoteProcessing. A service Verify Vehicle Details, a serviceVerify Credit History, and a service Score Risk are allocated to theservice component RiskRating. A service Prepare Communication Email, aservice Quote, a service Send Email, and a service Receive QuoteApplication are allocated to the service component QuoteIssue. See FIG.4A, infra, for service dependency for the example of the servicedefinitions 26E.

FIG. 3 illustrates the SCA module 30 of FIG. 1, supra, which are outputsof the module generating process 100, in accordance with the embodimentsof the present invention.

The SCA module 30 comprises artifacts namespace 31, package name 32,data types and interfaces 33, service components implementations 34, andreference partners for service components 35. In this specification, theterm “SCA module” is interchangeably referred to the term “compositeapplication,” which is defined as a basic unit of deployable applicationin SCA programming model. A composite application comprises a series ofservice components which are assembled together to create solutions thatserve a particular business need. Service components, or shortlycomponents, contain the business function provided by the module, whichis referred to as a “Service”. The service is accessed internally withina Component or is accessed remotely from an external Component. Anexternal component accesses the service through an entry point. Whereina component depend on services provided by external components, suchdependencies are referred to as references. Access methods to theservice components in SCA programming model also utilize wide range oftechnologies, inter alia, Web services, Messaging systems and RemoteProcedure Call (RPC), etc.

The namespace 31 is a means of adding groups of XML elements andattributes to a common scope. The namespace 31 defines a range ofsymbols for data types and WSDL interface definitions. See FIG. 3A,infra, for an example of the namespace 31.

The package name 32 indicates identifiers of implementation packages,for example, in Java. See FIG. 3B, infra, for an example of the packagename 32.

The data types and interfaces 33 are represented in Web ServicesDescription Language (WSDL) files and XML Schema Definitions (XSDs). SeeFIG. 3C, infra, for an example of the data types and interfaces 33.

The service components implementations 34 comprise variousimplementations of service components in executable forms. Animplementation is a piece of program code implementing businessfunctions of the service component. In one embodiment of the presentinvention, the service components implementations 34 are in BPEL and/orJava. The reference partners for service components 35 representsentities on which the service components are dependent to perform aservice allocated to the service components. See FIG. 3D, infra, for anexample of the service components implementations 34 and the referencepartners for service components 35.

In one embodiment of the present invention, the artifacts of the SCAmodule 30 are represented in various formats, inter alia, BPEL, WSDL,SCA Components, namespace and package per respective implementation ofservice components.

FIGS. 3A, 3B, 3C and 3D illustrate examples of the SCA module artifactsof FIG. 3, supra, in accordance with the embodiments of the presentinvention.

FIG. 3A illustrates an example of the namespace 31.

FIG. 3B illustrates an example of the package name 32.

FIG. 3C illustrates an example of the data types and interfaces 33.

FIG. 3D illustrates an example of the service components implementations34 and the reference partners for service components 35. Seedescriptions of FIG. 4A, infra, for details.

FIG. 4 illustrates mappings between the SOA service model elements andthe SCA module artifacts, in accordance with the embodiments of thepresent invention.

A subsystem name 401 of the SOA service model elements is utilized todefine either a namespace 421 or a package name 422 of the SCA moduleartifacts.

A service component 402 of the SOA service model elements is utilized todefine an interface name 423 of the SCA module artifacts. The servicecomponent 402 is also utilized to generate a SCA component 424. In oneembodiment of the present invention, the service component 402 of theSOA service model specifies a type of implementation, either BPEL orJava, for the SCA component 424.

A service allocation 403 is defined as an association of a service to aservice component. The service allocation 403 is utilized to define aninterface 425 of a SCA component. In one embodiment of the presentinvention, wherein the integrated authoring environment is IBM WebSphereIntegration Developer (WID), only one service is allocated to a servicecomponent.

A service operation 404 is defined supra as a function or a capabilitythat an implemented service exposes via a Web service contract,especially in relation to operation elements in the Web ServicesDescription Language (WSDL). The service operation 404 is utilized todefine interface input/output and a data type 426 of the SCA moduleartifacts.

Service dependency and service composition 405 of the SOA service modelare utilized to define reference partners for SCA components 427. Aservice composition indicates an aggregate of participating services anda composition initiator that are collectively composed to automate aparticular task or business process.

FIGS. 4A and 4B illustrate an example of service dependency and servicecomposition of a SOA service model that defines reference partners for aSCA component, in accordance with the embodiments of the presentinvention.

In FIG. 4A, a service QuoteIssueProcess 405E1 is dependent upon servicesScore Risk 405E2, Receive Quote Application 405E3, Prepare CommunicationEmail 405E4, Verify Vehicle Details 405E5, Send Email 405E6 and VerifyCredit History 405E7.

In FIG. 4B, the service QuoteIssueProcess 405E1 is allocated to theservice component QuoteProcessing 34E1 as shown in FIG. 3D, supra.

The services Prepare Communication Email 405E4, Receive QuoteApplication 405E3, and Send Email 405E6 are allocated to the servicecomponent QuoteIssue 34E2 as shown in FIG. 3D, supra. The services ScoreRisk 405E2, Verify Credit History 405E7, and Verify Vehicle Details405E5 are allocated to the service component RiskRating 34E3 as shown inFIG. 3D, supra. Thus, the service component QuoteProcessing 34E1 towhich the service QuoteIssueProcess 405E1 has been assigned to shouldhave reference partners corresponding to interfaces of the servicecomponents QuoteIssue 34E2 and RiskRating 34E3. See FIG. 3D, supra, forreference partners 35E1 and 35E2 denoted for the service componentQuoteProcessing 34E1, interfacing with the service component QuoteIssue34E2 and the service component RiskRating 34E3, respectively.

FIG. 4C illustrates examples of interface definitions for SCAcomponents, which are generated from service allocations of a SOAservice model, in accordance with the embodiments of the presentinvention.

The service allocations of the SOA service model are shown in FIG. 2D,supra. A service component interface is defined as a union of interfacesof services that are allocated to the service component. Because aservice component interface IRiskRating 425E1 is defined for the servicecomponent RiskRating 34E3 of FIGS. 3D and 4B, supra, the servicecomponent interface IRiskRating 425E1 is named after the name of theservice component RiskRating 34E3. The service component interfaceIRiskRating 425E1 is a union of service interfaces scoreRisk 425E2,verifyCreditHistory 425E3 and verifyVehicleDetails 425E4, which areinterfaces of the services Score Risk 405E2, Verify Credit History405E7, and Verify Vehicle Details 405E5 as shown in FIG. 4B, supra.

FIG. 5 is a flowchart depicting a method for generating a ServiceComponent Architecture (SCA) module with Service Oriented Architecture(SOA) model elements, in accordance with the embodiments of the presentinvention.

The method is performed by a module generating process in followingsteps. In step 210, the module generating process receives a processmodel in UML activity diagram format. The process model is provided tothe module generating process by a conventional modeling tool, a userinput, etc. See FIG. 2A for an example of a process model in UMLactivity diagram format. The module generating process proceeds withstep 220.

In one embodiment of the present invention, the process model createdwith IBM WebSphere Business Modeler (WBM) is imported into a UML projectin IBM Rational Software Architecture (RSA) authoring tool. A UMLactivity diagram representing the imported process model is createdafterward. See FIG. 5A for an example of a UML project in IBM RSAcomprising the imported process model, after the module generatingprocess performs step 210.

In step 220, the module generating process identifies candidateactivities and a process flow in the received process model. Each taskin the process model that is represented as a node in the UML activitydiagram is a candidate activity. Inputs and outputs of each task thatare represented as arrows in the UML activity diagram determine theprocess flow. See FIG. 5B for an example of the candidate activities andthe process flow of the process model in FIG. 5A, after the modulegenerating process performs step 220. The module generating processproceeds with step 230.

In step 230, the module generating process creates a service model forthe received process model. The service model comprises at least onecandidate service that is matched to candidate activities of the processmodel. The module generating process proceeds with step 240.

The module generating process performs a loop comprising steps 240 to270 for each candidate activity in the received process model. In theloop, prior to performing step 240, the module generating processexamines whether there is more candidate activity for the loop toprocess. One of unprocessed candidate activity is selected as a currentactivity each iteration of the loop. The module generating processproceeds with step 280 upon processing the loop for all candidateactivities.

In step 240, the module generating process determines whether thecurrent activity matches to one service in the created service model.Wherein an origin of the current activity and an origin of a candidateservice are identical, the module generating process determines that thecurrent activity matches to the candidate service. If the modulegenerating process determines that the current activity matches to thecandidate service in the created service model, then the modulegenerating process proceeds with step 250 to further process the matchedcandidate service. If the module generating process determines that thecurrent activity matches to no candidate service in the created servicemodel, then the module generating process proceeds with step 270 for auser input.

In step 250, the module generating process determines whether thematched candidate service from step 240 has only one service operationdefinition. If the module generating process determines that the matchedcandidate service has only one service operation definition, then themodule generating process proceeds with step 260 to further process theservice operation definition. If the module generating processdetermines that the matched candidate service has no operationdefinition or multiple operation definitions, then the module generatingprocess proceeds with step 270 for the user input. See FIG. 5C for anexample of service operation definitions located after the modulegenerating process performs step 250.

In step 260, the module generating process creates messagespecifications of the current activity with the service operationdefinition from step 250. The module generating process assigns inputand output messages of the service operation definition as input andoutput objects of the current activity, which is used as a messagespecification of the current activity. See FIG. 5D for examples ofmessage specifications. The module generating process starts over theloop after performing step 260.

In step 270, the module generating process receives the user input toassociate the current candidate activity with a service operationdefinition and to create message specifications for the currentcandidate activity. In another embodiment of the present invention, themodule generating process performs step 270 by substituting the userinput with stub data, a default input, default data set, a tag formissing definition for later provision, a predefined data set forassociating activities and services and/or for message specifications,etc., to minimize user interaction and to maximize automation whilegenerating the SCA module. The module generating process starts over theloop after performing step 270.

In step 280, the module generating process generates the SCA module withthe candidate activities and the process flow identified in step 220,and the message specifications for each candidate activity created instep 260 or data provided in step 270. In one embodiment of the presentinvention, the generated SCA module is in Business Process ExecutionLanguage (BPEL), Java, or a combination thereof. See FIG. 5E for anexample of the generated SCA module in BPEL. The module generatingprocess proceeds with step 290.

In step 290, the module generating process stores the generated SCAmodule in a memory device coupled to a computer system in which themodule generating process operates, transfers the generated SCA moduleto an output device of the computer system, or both. The modulegenerating process terminates after performing step 290.

FIG. 6 illustrates a computer system 90 used for generating a ServiceComponent Architecture (SCA) module with Service Oriented Architecture(SOA) model elements, in accordance with the embodiments of the presentinvention.

The computer system 90 comprises a processor 91, an input device 92coupled to the processor 91, an output device 93 coupled to theprocessor 91, and computer readable memory units comprising memorydevices 94 and 95 each coupled to the processor 91. The input device 92may be, inter alia, a keyboard, a mouse, a keypad, a touchscreen, avoice recognition device, a sensor, a network interface card (NIC), aVoice/video over Internet Protocol (VOIP) adapter, a wireless adapter, atelephone adapter, a dedicated circuit adapter, etc. The output device93 may be, inter alia, a printer, a plotter, a computer screen, amagnetic tape, a removable hard disk, a floppy disk, a NIC, a VOIPadapter, a wireless adapter, a telephone adapter, a dedicated circuitadapter, an audio and/or visual signal generator, a light emitting diode(LED), etc. The memory devices 94 and 95 may be, inter alia, a cache, adynamic random access memory (DRAM), a read-only memory (ROM), a harddisk, a floppy disk, a magnetic tape, an optical storage such as acompact disk (CD) or a digital video disk (DVD), etc. The memory device95 includes a computer code 97 which is a computer program thatcomprises computer-executable instructions. The computer code 97includes, inter alia, an algorithm used for generating a SCA module withSOA model elements according to the present invention. The processor 91executes the computer code 97. The memory device 94 includes input data96. The input data 96 includes input required by the computer code 97.The output device 93 displays output from the computer code 97. Eitheror both memory devices 94 and 95 (or one or more additional memorydevices not shown in FIG. 6) may be used as a computer usable storagemedium (or a computer readable storage medium or a program storagedevice) having a computer readable program embodied therein and/orhaving other data stored therein, wherein the computer readable programcomprises the computer code 97. Generally, a computer program product(or, alternatively, an article of manufacture) of the computer system 90may comprise said computer usable storage medium (or said programstorage device).

Any of the components of the present invention can be deployed, managed,serviced, etc. by a service provider that offers to deploy or integratecomputing infrastructure with respect to a process for dynamicallybuilding a web interface per data collecting rules of the presentinvention. Thus, the present invention discloses a process forsupporting computer infrastructure, comprising integrating, hosting,maintaining and deploying computer-readable code into a computing system(e.g., computing system 90), wherein the code in combination with thecomputing system is capable of performing a method for generating a SCAmodule with SOA model elements.

In another embodiment, the invention provides a business method thatperforms the process steps of the invention on a subscription,advertising and/or fee basis. That is, a service provider, such as aSolution Integrator, can offer to create, maintain, support, etc. aprocess for determining web analytics information of the presentinvention. In this case, the service provider can create, maintain,support, etc. a computer infrastructure that performs the process stepsof the invention for one or more customers. In return, the serviceprovider can receive payment from the customer(s) under a subscriptionand/or fee agreement, and/or the service provider can receive paymentfrom the sale of advertising content to one or more third parties.

While FIG. 6 shows the computer system 90 as a particular configurationof hardware and software, any configuration of hardware and software, aswould be known to a person of ordinary skill in the art, may be utilizedfor the purposes stated supra in conjunction with the particularcomputer system 90 of FIG. 6. For example, the memory devices 94 and 95may be portions of a single memory device rather than separate memorydevices.

As will be appreciated by one skilled in the art, the present inventionmay be embodied as a system, method or computer program product.Accordingly, the present invention may take the form of an entirelyhardware embodiment, an entirely software embodiment (includingfirmware, resident software, micro-code, etc.) or an embodimentcombining software and hardware aspects that may all generally bereferred to herein as a “circuit,” “module” or “system.” Furthermore,the present invention may take the form of a computer program productembodied in any tangible medium of expression having computer-usableprogram code embodied in the medium.

Any combination of one or more computer usable or computer readablemedium(s) 94, 95 may be utilized. The term computer usable medium orcomputer readable medium collectively refers to computer usable/readablestorage medium 94, 95. The computer-usable or computer-readable medium94, 95 may be, for example but not limited to, an electronic, magnetic,optical, electromagnetic, infrared, or semiconductor system, apparatus,a device, or any suitable combination of the foregoing. More specificexamples (a non-exhaustive list) of the computer-readable medium 94, 95would include the following: an electrical connection having one or morewires, a portable computer diskette, a hard disk, a random access memory(RAM), a read-only memory (ROM), an erasable programmable read-onlymemory (EPROM or Flash memory), an optical fiber, a portable compactdisc read-only memory (CD-ROM), an optical storage device, a magneticstorage device, or any suitable combination of the foregoing. Note thatthe computer-usable or computer-readable medium 94, 95 could even bepaper or another suitable medium upon which the program is printed, asthe program can be electronically captured, via, for instance, opticalscanning of the paper or other medium, then compiled, interpreted, orotherwise processed in a suitable manner, if necessary, and then storedin a computer memory. In the context of this document, a computer-usableor computer-readable medium 94, 95 may be any medium that can contain,or store a program for use by or in connection with an instructionexecution system, apparatus, or device.

Computer code 97 for carrying out operations of the present inventionmay be written in any combination of one or more programming languages,including an object oriented programming language such as Java,Smalltalk, C++ or the like and conventional procedural programminglanguages, such as the “C” programming language or similar programminglanguages. The computer code 97 may execute entirely on the user'scomputer, partly on the user's computer, as a stand-alone softwarepackage, partly on the user's computer and partly on a remote computeror entirely on the remote computer or server. In the latter scenario,the remote computer may be connected to the user's computer through anytype of network, including a local area network (LAN) or a wide areanetwork (WAN), or the connection may be made to an external computer(for example, through the Internet using an Internet Service Provider).

The present invention is described with reference to flowchartillustrations and/or block diagrams of methods, apparatus (systems) andcomputer program products according to embodiments of the invention. Itwill be understood that each block of the flowchart illustrations and/orblock diagrams, and combinations of blocks in the flowchartillustrations and/or block diagrams, can be implemented by computerprogram instructions. The term “computer program instructions” isinterchangeable with the term “computer code 97” in this specification.These computer program instructions may be provided to a processor of ageneral purpose computer, special purpose computer, or otherprogrammable data processing apparatus to produce a machine, such thatthe instructions, which execute via the processor of the computer orother programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks.

These computer program instructions may also be stored in thecomputer-readable medium 94, 95 that can direct a computer or otherprogrammable data processing apparatus to function in a particularmanner, such that the instructions stored in the computer-readablemedium produce an article of manufacture including instruction meanswhich implement the function/act specified in the flowchart and/or blockdiagram block or blocks.

The computer program instructions may also be loaded onto a computer orother programmable data processing apparatus to cause a series ofoperational steps to be performed on the computer or other programmableapparatus to produce a computer implemented process such that theinstructions which execute on the computer or other programmableapparatus provide processes for implementing the functions/actsspecified in the flowchart and/or block diagram block or blocks.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof code, which comprises one or more executable instructions forimplementing the specified logical function(s). It should also be notedthat, in some alternative implementations, the functions noted in theblock may occur out of the order noted in the figures. For example, twoblocks shown in succession may, in fact, be executed substantiallyconcurrently, or the blocks may sometimes be executed in the reverseorder, depending upon the functionality involved. It will also be notedthat each block of the block diagrams and/or flowchart illustration, andcombinations of blocks in the block diagrams and/or flowchartillustration, can be implemented by special purpose hardware-basedsystems that perform the specified functions or acts, or combinations ofspecial purpose hardware and computer instructions.

The corresponding structures, materials, acts, and equivalents of allmeans or step plus function elements in the claims are intended toinclude any structure, material, or act for performing the function incombination with other claimed elements as specifically claimed. Thedescription of the present invention has been presented for purposes ofillustration and description, but is not intended to be exhaustive orlimited to the invention in the form disclosed. Many modifications andvariations will be apparent to those of ordinary skill in the artwithout departing from the scope and spirit of the invention. Theembodiment was chosen and described in order to best explain theprinciples of the invention and the practical application, and to enableothers of ordinary skill in the art to understand the invention forvarious embodiments with various modifications as are suited to theparticular use contemplated.

What is claimed is:
 1. A method for generating a Service ComponentArchitecture (SCA) module with Service Oriented Architecture (SOA) modelelements, said method comprising: creating a service model correspondingto a process model, wherein the process model comprises at least oneactivity and a process flow, and wherein the service model comprises atleast one service and at least one service operation definition;associating an activity of said at least one activity with a service ofsaid at least one service; determining a service operation definition ofsaid at least one service operation definition that specifies aninterface of the service associated with the activity, wherein saiddetermining the service operation definition comprises: discovering morethan one service operation definitions of said at least one serviceoperation definition that specify a respective interface of the serviceassociated with the activity, acquiring user input data that selects oneservice operation definition out of said more than one service operationdefinitions, and identifying said one service operation definition asthe service operation definition that specifies the interface of theservice; rendering a message specification of the activity from theinterface of the service; a processor of a computer system producing theSCA module with the SOA model elements, wherein the SOA model elementscomprise said at least one activity, the process flow, and the messagespecification; and communicating the produced SCA module to a user ofthe computer system.
 2. The method of claim 1, wherein an origin of theactivity is identical to an origin of the service.
 3. The method ofclaim 1, wherein the SCA module is executable in the process flow, theSCA module comprising the activity communicating among said at least oneactivity according to the rendered message specification.
 4. The methodof claim 1, said associating comprising: discovering no service of saidat least one service that has a same origin as the origin of theactivity; acquiring data that selects another service of said at leastone service, wherein said data is selected from the group consisting ofa user input, default data, predefined data, and a combination thereof;and associating the activity with said another service.
 5. The method ofclaim 1, wherein the process model is a Unified Modeling Language (UML)activity diagram, wherein the service model is a Service-OrientedArchitecture task service model, and wherein the SCA module is selectedfrom the group consisting of a Business Process Execution Language(BPEL) code, a Java code, and a combination thereof.
 6. The method ofclaim 1, said method further comprising: providing at least one supportservice for at least one of creating, integrating, hosting, maintaining,and deploying computer-readable program code in the computer system,said program code being executed by the processor to implement saidcreating, said associating the activity with the service, saiddetermining the service operation definition, said rendering the messagespecification, said producing the SCA module, and said communicating theproduced SCA module to the user.
 7. A computer program productcomprising: a computer readable storage hardware device having acomputer readable program code embodied therein, said computer readableprogram code containing instructions that perform a method forgenerating a Service Component Architecture (SCA) module with ServiceOriented Architecture (SOA) model elements, said method comprising:creating a service model corresponding to a process model, wherein theprocess model comprises at least one activity and a process flow, andwherein the service model comprises at least one service and at leastone service operation definition; associating an activity of said atleast one activity with a service of said at least one service;determining a service operation definition of said at least one serviceoperation definition that specifies an interface of the serviceassociated with the activity, wherein said determining the serviceoperation definition comprises: discovering more than one serviceoperation definitions of said at least one service operation definitionthat specify a respective interface of the service associated with theactivity, acquiring user input data that selects one service operationdefinition out of said more than one service operation definitions, andidentifying said one service operation definition as the serviceoperation definition that specifies the interface of the service;rendering a message specification of the activity from the interface ofthe service; producing the SCA module with the SOA model elements,wherein the SOA model elements comprise said at least one activity, theprocess flow, and the message specification; and communicating theproduced SCA module to a user of the computer system.
 8. The computerprogram product of claim 7, wherein an origin of the activity isidentical to an origin of the service.
 9. The computer program productof claim 7, wherein the SCA module is executable in the process flow,the SCA module comprising the activity communicating among said at leastone activity according to the rendered message specification.
 10. Thecomputer program product of claim 7, said associating comprising:discovering no service of said at least one service that has a sameorigin as the origin of the activity; acquiring data that selectsanother service of said at least one service, wherein said data isselected from the group consisting of a user input, default data,predefined data, and a combination thereof; and associating the activitywith said another service.
 11. The computer program product of claim 6,wherein the process model is a Unified Modeling Language (UML) activitydiagram, wherein the service model is a Service-Oriented Architecturetask service model, and wherein the SCA module is selected from thegroup consisting of a Business Process Execution Language (BPEL) code, aJava code, and a combination thereof.
 12. A computer system comprising:a processor and a computer readable storage hardware device coupled tothe processor, said computer readable storage medium containinginstructions that when executed by the processor implement a method forgenerating a Service Component Architecture (SCA) module with ServiceOriented Architecture (SOA) model elements, said method comprising:creating a service model corresponding to a process model, wherein theprocess model comprises at least one activity and a process flow, andwherein the service model comprises at least one service and at leastone service operation definition; associating an activity of said atleast one activity with a service of said at least one service;determining a service operation definition of said at least one serviceoperation definition that specifies an interface of the serviceassociated with the activity, wherein said determining the serviceoperation definition comprises: discovering more than one serviceoperation definitions of said at least one service operation definitionthat specify a respective interface of the service associated with theactivity, acquiring user input data that selects one service operationdefinition out of said more than one service operation definitions, andidentifying said one service operation definition as the serviceoperation definition that specifies the interface of the service;rendering a message specification of the activity from the interface ofthe service; producing the SCA module with the SOA model elements,wherein the SOA model elements comprise said at least one activity, theprocess flow, and the message specification; and communicating theproduced SCA module to a user of the computer system.
 13. The computersystem of claim 12, wherein an origin of the activity is identical to anorigin of the service.
 14. The computer system of claim 12, wherein theSCA module is executable in the process flow, the SCA module comprisingthe activity communicating among said at least one activity according tothe rendered message specification.
 15. The computer system of claim 12,said associating comprising: discovering no service of said at least oneservice that has a same origin as the origin of the activity; acquiringdata that selects another service of said at least one service, whereinsaid data is selected from the group consisting of a user input, defaultdata, predefined data, and a combination thereof; and associating theactivity with said another service.
 16. The computer system of claim 12,wherein the process model is a Unified Modeling Language (UML) activitydiagram, wherein the service model is a Service-Oriented Architecturetask service model, and wherein the SCA module is selected from thegroup consisting of a Business Process Execution Language (BPEL) code, aJava code, and a combination thereof.